FOR %%i IN ("%~1????????-????????-????????-????????-????.dll") DO (
	CALL "%~dp0\reg_dll.bat" "%%~fi"
)
SET REG_PARAM=-R:"HKEY_CURRENT_USER" -I:"%~1*.dll"
IF EXIST "%~p1reglxp.exe". (
	"%~p1reglxp.exe" %REG_PARAM%
) ELSE IF EXIST "%~p1reglxpp.exe". (
	"%~p1reglxpp.exe" %REG_PARAM%
) ELSE IF EXIST "%~p1reglxpd.exe". (
	"%~p1reglxpd.exe" %REG_PARAM%
)
EXIT /B 0
